import buildingApi from '@/config/server/api/building'
import biApi from '@/config/server/api/bi'
import baseApi from '@/config/server/api/base'
import customerApi from '@/config/server/api/customer'
import tool from '@/common/tool.js'
import moment from 'moment'
import dt from '@dt/dt'

function getOrgDailyPaperMerge(params) {
  console.log(dt)
  return biApi.work.orgDailyPaperMerge.fetch(params)
}

function comerDayList(params) {
  return biApi.work.comerDayList.fetch(params)
}

function comerDayListExport(params) {
  return biApi.work.comerDayListExport.fetch(params)
}

function clueDayList(params) {
  return biApi.work.clueDayList.fetch(params)
}

function clueDayListExport(params) {
  return biApi.work.clueDayListExport.fetch(params)
}

function salesWebList(params) {
  return biApi.work.salesWebList.fetch(params)
}

function salesWebListExport(params) {
  return biApi.work.salesWebListExport.fetch(params)
}

function getTaskHeadInfoForOrg(params) {
  return customerApi.work.taskHeadInfoForOrg.fetch(params)
}

function getOrgStatistics(params) {
  return baseApi.work.getOrgStatistics.fetch(params)
}

function getEmbeddedUrl(params) {
  return biApi.work.getEmbeddedUrl.fetch(params)
}

export default {
  getOrgDailyPaperMerge,
  comerDayList,
  comerDayListExport,
  clueDayList,
  clueDayListExport,
  salesWebList,
  salesWebListExport,
  getTaskHeadInfoForOrg,
  getOrgStatistics,
  getEmbeddedUrl
}
